package stu.aistar.service;

import stu.aistar.model.pojo.User;

import java.util.Map;

public interface UserService {
    User findUserByPhone(String phone);

    User login(String phone,String password);

    User registUser(String phone,String password);

    String sendVerifyCode(String phoneNumber, Integer code_length, Map<String,String> map);
}
